package com.pshcp.patient.domain;

import com.pshcp.common.tool.PhotoTools;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: file
 * @Author: xiaoche
 * @Date: 2022/11/3 13:24
 */
@Data
@ApiModel(value="文件")
public class FileVO {

    @ApiModelProperty(value = "文件前缀")
    private String fileUrl;

    @ApiModelProperty(value = "文件路径")
    private String filePath;

    @ApiModelProperty(value = "文件全路径")
    private String fullFilePath;

    public String getFullFilePath() {
        return PhotoTools.getFullPath(fileUrl, filePath);
    }
}
